package com.xc.tjise.TJISE.day07;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;

//构造方法
public class CheckedExceptionTest { //F2 快速跳到出错的地方
    public static void main(String[] args) throws IOException {
        try {
            RandomAccessFile randomAccessFile = new RandomAccessFile("D:/qwe.txt", "rw");
            randomAccessFile.writeChar(65);
        }catch (FileNotFoundException a){
            throw new RuntimeException(a);
        }

    }
}
